import { defineStore } from "pinia";

export const useCounterStore = defineStore("counter", {
  state: () => {
    return {
      vipTk: false,
      uselogin: false,
      vip: false,
      vipw: true,
      user: false,
      userLogin: true,
      vips: false, //普通会员
      switchVip: false, //标准会员
      vipMembers: false, //高级会员
      platinum: false, //vip会员
      diamond: false, //定制会员
      userName: "",
      tel: "",
      isShowDrawer: false, //弹框
    };
  },
  // 持久化存储
  persist: true,
  getters: {},
  actions: {},
});
